<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="wzp/css/eventaccept.css">
<link rel="stylesheet" type="text/css" href="wzp/css/popup.css">
<link href="work/css/zhzrm.css" rel="stylesheet" type="text/css" />
<link href="work/css/reportTable.css" rel="stylesheet" type="text/css" />
<link href="work/css/reportTableCheck.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="lzm/js/jquery.cookie.js"></script>
<script type="text/javascript" src="lzm/js/ajaxUtils.js"></script>
<script type="text/javascript" src="work/js/zhzrm.js"></script>
<script type="text/javascript" src="work/js/enterPlanEmergency.js"></script>
<script type="text/javascript" src="work/js/work_ext.js"></script>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	color:#036;
}
.STYLE1 {font-size: 12px}
.STYLE4 {
	font-size: 12px;
	color: #1F4A65;
	font-weight: bold;
}

a:link {
	font-size: 12px;
	color: #06527d;
	text-decoration: none;

}
a:visited {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;
}
a:hover {
	font-size: 12px;
	color: #FF0000;
	text-decoration: underline;
}
a:active {
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.STYLE7 {font-size: 12px}

-->
</style>
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="lzm/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="lzm/images/tab_05.gif"><img src="lzm/images/311.gif" width="16" height="16" /> <span class="STYLE4">指挥小组任命</span></td>
        <td width="281" background="lzm/images/tab_05.gif">&nbsp;</td>
        <td width="14"><img src="lzm/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="lzm/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#84b1d3">
          <tr>
            <td width="100%" height="18" colspan="2" bgcolor="#FFFFFF"><div align="center" class="STYLE1">
              <div id="findSucc" style="margin-top: 20px; color: #000; margin-left: 50px; font-size: 16px; margin-bottom: 20px; font-size: 16px;">
              	<img src="work/images/config.png" />
		      	<span style="margin-left: 5px;">事件处置方案配置第四步：指挥小组任命（4/5）</span>
			  </div>
            </div></td>
            </tr>
         
		  <!---->
		  <tr>
            <td height="28" width="50%" bgcolor="#FFFFFF">
				<span class="spanFont">任命总指挥</span>
			</td>
            <td height="18" bgcolor="#FFFFFF">
            	<span id="tbUserByPCommander" class="spanCnt" style="width:100px;"></span>
				<span id="tbUserByPCommander1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button" class="slt" value="选择" />
				<input type="button" name="button" class="del" id="del" value="删除" />	
			</td>
          </tr>
          <tr>
            <td height="28" bgcolor="#FFFFFF">
				<span class="spanFont">任命指挥长</span>
			</td>
            <td height="18" bgcolor="#FFFFFF">            	
            	<span id="tbUserByPViceCommander" class="spanCnt" style="width:100px;"></span>
				<span id="tbUserByPViceCommander1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button" class="slt" value="选择" />
				<input type="button" name="button" class="del" id="del" value="删除" />
			</td>
          </tr>
          <tr>
            <td height="28" bgcolor="#FFFFFF">
				<span class="spanFontCheckBox">任命现场查控工作组组长</span>
			</td>
            <td height="18" bgcolor="#FFFFFF">
				<span id="tbUserByPTeamLeader" class="spanCnt" style="width:100px;"></span>
				<span id="tbUserByPTeamLeader1" class="spanCnt" style="display:none"></span>
            	<input type="submit" name="button2" class="slt" value="选择" />
				<input type="button" name="button" class="del" id="del" value="删除" />	
			</td>
          </tr>
          <tr>
            <td height="28" bgcolor="#FFFFFF">
				<span class="spanFontCheckBox">任命实施应急预案部门</span>
			</td>
            <td height="18" bgcolor="#FFFFFF">   
				<span id="tbUserDeptByPImplementPlan" class="spanCnt" style="width:100px;"></span>
				<span id="tbUserDeptByPImplementPlan1" class="spanCnt" style="display:none;float:right"></span>         	
				<input type="submit" name="button3" class="sltDept" value="选择" />
				<input type="button" name="button" class="del" id="del" value="删除" />
			</td>
          </tr>
          <tr>
            <td height="18" bgcolor="#FFFFFF">
				<span class="spanFont">任命协助部门</span>
			</td>
            <td height="18" bgcolor="#FFFFFF">
            	<span id="tbUserDeptByPAssistDept" class="spanCnt" style="width:100px;"></span>
				<span id="tbUserDeptByPAssistDept1" class="spanCnt" style="display:none"></span>
				<input type="submit" name="button4" class="sltDept" value="选择" />
				<input type="button" name="button" class="del" id="del" value="删除" />
			</td>
          </tr>
		  <!---->
		 
		  <tr>
            <td height="18" colspan="2" align="center" bgcolor="#FFFFFF">
            	&nbsp;
            </tr>
          <tr>
            <td height="18" colspan="2" align="center" bgcolor="#FFFFFF"><input type="submit" name="button6" id="sureZhzrm" value="完成" /></td>
            </tr>
        </table></td>
        <td width="9" background="lzm/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="lzm/images/tab_20.gif" width="15" height="29" /></td>
        <td background="lzm/images/tab_21.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25%" height="29" nowrap="nowrap">&nbsp;</td>
            <td width="75%" valign="top" class="STYLE1">&nbsp;</td>
          </tr>
        </table></td>
        <td width="14"><img src="lzm/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>


<!-- 弹出窗口的div -->
	<div class="demo" style="display:none;">
	<!-- 部门选择窗口 -->	
    <div id="deptChooseWindow1">
        <table width='98%' border='0' width="98%" height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div>  <div id="DeptForm">
                              <table width="540" align="center">
                                 <tbody id="selectArea" >
							  <tr id='deptArea'>
								  <td align="left">
									   <span class="span_n" >请选择部门类型:</span>
									    <select id="deptType1" class="deptType" ></select>
								  </td>
							   </tr>
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="480" align="center">
										<tr>
									  <td width="200" align="center"><span class="span_n" style="color: #960;">可选部门</span></td>
									  <td width="80" align="center" ></td>
									  <td width="200" align="center" ><span class="span_n" style="color: #960;">已选部门 </span></td>
									   </tr>
									   <tr>
									  <td width="200" height="200px" align="right">
										<select style="width:300px;height:180px" id="subDepts1" name="all" size="6" multiple="multiple">
									    </select>
								      </td>
									  <td width="80" align="center" > 
									    <img id="addDept1" src="wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delDept1" src="wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
									  <td width="200" height="200px" align="left" >
                                       <select style="width:300px;height:180px" id="selDepts1" name="sel" size="6" multiple="multiple">
                                       </select>
								      </td>
									</tr>
									</table>
								    </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
						 <!---
						 <tr class="trtab">
				          	<td align="center" colspan="2"> 
				          		<button id="selDeptOK" class="submit" >确定</button>
				          		<span style="padding-left:20">
				          		<button id="selDeptCancel" class="submit" >取消</button></span>
				          	</td>
				          </tr>-->
                            </table>
                      </div>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
    <!-- 负责人选择窗口 -->	
    <div id="leaderChooseWindow">
        <table  border='0' width='98%'  height="98%" cellpadding="3" cellspacing="1" 
			   align="center" style="background-color: #1177bd">
	          <tr> <td bgcolor="#ffffff">
	               <div id="userForm">
                              <table width="480px" align="center">
                                 <tbody id="selectArea" >
                                 	<tr>
								<td align="left">
                                 	<span class="span_n" style="color: #960;">选择方式:</span>
                                 	<input name='select' type='radio' id='role' checked="checked" />按角色选择
									<input name='select' type='radio' id='dept' />按部门选择
								</td>
					   		</tr>
					   		<tr id='roleArea'>
								  <td align="left">
									   <span class="span_n" >按角色选择:</span>
									    <select id="roleList" ></select>
								  </td>
								  
							   </tr>
							  <tr id='deptArea' style="display:none">
								  <td align="left" >
									   <span class="span_n" style="color: #960;">按部门选择:</span>
									    <select id="deptType" class="deptType" ></select>
										<select id="q_UDept" class="uDept" ></select>
								  </td>
							   </tr>
							 
							   <tr>
								  <td>
									 <div style="margin-top: 10px">
										<table width="460px" align="center">
										<tr>
									  <td width="190px" align="center"><span class="span_n" style="color: #960;">可选人员</span></td>
									  <td width="80px" align="center" ></td>
									  <td width="190px" align="center" ><span class="span_n" style="color: #960;">已选人员 </span></td>
									   </tr><!--
									   
									   <tr>	  
									   <td width="190px" height="180px" >
										<ul id="deptul">
										</ul>
								      </td>
								      </tr>
									   <tr>
								
									  --><td  id="subDeptstd" width="190px" height="350px" align="right"  >
										<select style="width:190px;height:350px" id="subDepts" name="all" size="6" multiple="multiple">
									    </select>
								      </td>
								      
								     <td width="250px" height="350px"  id="deptultd" align="center" width="190px" height="180px" style="display:none">
								         <div align="left" id="deptuldiv" style="height:350px; width:250px; overflow-y:auto; overflow-x:auto; border:1px solid #8ACEEC !important">
										 <ul style="list-style:none" id="deptul"></ul>
										 </div>
									 </td>
										  
									 <td width="80px" align="center" > 
									    <img id="addDept" src="/ag/wzp/images/arrow_right.gif" style="cursor: pointer;"/>
									    <br/><br/>
									    <img id="delDept" src="/ag/wzp/images/arrow_left.gif" style="cursor: pointer;"/>
								      </td>
								      
									 <td width="250px" height="350px" align="left" >
                                       <select style="width:190px;height:350px" id="selDepts" name="sel" size="6" multiple="multiple">
                                       </select>
								      </td>
									</tr>
										    </table>
										 </div>
								  </td>
							      <td></td>   
							   </tr>
						 </tbody>
						 <tr class="trtab">
          					<td  align="center">
          						<input id='selOk' class="submit" type="button" value="确定"/> 
          						<span style="padding-left:20px">
          						<input id='selCancel' class="submit" type="button" value="取消"/></span>
          						</td>
          					</tr>
                        </table>
	                 </div>
	              </td>
	          </tr>	       
	    </table>
    </div>
	
	</div>
	<!-- 弹出窗口的end -->
</body>
<script type="text/javascript" src="work/js/selDeptAndRole.js"></script> 
<script type="text/javascript" src="work/js/chooseUser.js"></script> 
	<link type="text/css" href="/ag/css/dialog/jquery.ui.all.css" rel="stylesheet" />
	<link type="text/css" href="/ag/css/dialog/demos.css" rel="stylesheet" />
	<!-- JQuery的UI插件库 -->
	<script type="text/javascript" src="/ag/js/dialog/jquery.bgiframe-2.1.1.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.core.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.mouse.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.button.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.draggable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.position.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.resizable.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.ui.dialog.js"></script>
	<script type="text/javascript" src="/ag/js/dialog/jquery.effects.core.js"></script>
	<script type="text/javascript" src="/ag/js/accrodin/jquery.ui.accordion.js"></script>
</html>

